package com.waymap.common.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class TransactionsJsonVo {

    private int id;
    private String transactionType;
    private String createdFrom;
    private String createdFromType;
    private int nsInternalid;
    private String tranid;
    private String status;
    private int locationId;
    private String locationName;
    private int toLocationId;
    private String toLocationName;


    private Date creationDate=new Date();
    private String createdBy="";
    private Date lastUpdateDate=new Date();
    private String lastUpdateBy="";

    private String accountId;
    private String syncToNs;
    private List<TransactionInventoryDetailsJsonVo> transaction_items= new ArrayList<>();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getCreatedFrom() {
        return createdFrom;
    }

    public void setCreatedFrom(String createdFrom) {
        this.createdFrom = createdFrom;
    }

    public String getCreatedFromType() {
        return createdFromType;
    }

    public void setCreatedFromType(String createdFromType) {
        this.createdFromType = createdFromType;
    }

    public int getNsInternalid() {
        return nsInternalid;
    }

    public void setNsInternalid(int nsInternalid) {
        this.nsInternalid = nsInternalid;
    }

    public String getTranid() {
        return tranid;
    }

    public void setTranid(String tranid) {
        this.tranid = tranid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getLocationId() {
        return locationId;
    }

    public void setLocationId(int locationId) {
        this.locationId = locationId;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public int getToLocationId() {
        return toLocationId;
    }

    public void setToLocationId(int toLocationId) {
        this.toLocationId = toLocationId;
    }

    public String getToLocationName() {
        return toLocationName;
    }

    public void setToLocationName(String toLocationName) {
        this.toLocationName = toLocationName;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getSyncToNs() {
        return syncToNs;
    }

    public void setSyncToNs(String syncToNs) {
        this.syncToNs = syncToNs;
    }

    public List<TransactionInventoryDetailsJsonVo> getTransaction_items() {
        return transaction_items;
    }

    public void setTransaction_items(List<TransactionInventoryDetailsJsonVo> transaction_items) {
        this.transaction_items = transaction_items;
    }
}
